package com.example.mapper;
import com.example.pojo.Chamber;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pojo.Emp;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 会议室信息表 Mapper 接口
 * </p>
 *
 * @author wsl
 * @since 2022-04-24
 */
@Mapper
@Repository
public interface ChamberMapper extends BaseMapper<Chamber> {

    //根据id修改会议室状态
    int updateChamber(Chamber chamber);
    //根据id删除
    int deleteById(int id);
    //查询可使用的会议室信息
    List<Chamber> selectChambers();


}
